package com.xxzx.journalism.util;

import com.xxzx.journalism.model.common.ResultModel;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

public class ResultUtils {

    public static ResponseEntity result(ResultModel resultModel) {
        return new ResponseEntity(resultModel, HttpStatus.OK);
    }
}